AGC probably stands for Automatic Gain Control. (GPHY Version)
If the PHY Revision is 1, the InternalLookupTable used is 0x4C00, otherwise 0
Write 0xFE to the InternalLookupTable, offset 0
Write 0x0D to the InternalLookupTable, offset 1
Write 0x13 to the InternalLookupTable, offset 2
Write 0x19 to the InternalLookupTable, offset 3
- If the PHY Revision is 1
Write 0x2710 to InternalLookupTable 0x1800, offset 0
Write 0x9B83 to InternalLookupTable 0x1800, offset 1
Write 0x9B83 to InternalLookupTable 0x1800, offset 2
Write 0x0F8D to InternalLookupTable 0x1800, offset 3
Write 4 to PHYRegister 0x455
MaskSet PHYRegister 0x4A5 with mask 0x00FF and set 0x5700
MaskSet PHYRegister 0x41A with mask 0xFF80 and set 0x000F
MaskSet PHYRegister 0x41A with mask 0xC07F and set 0x2B80
MaskSet PHYRegister 0x48C with mask 0xF0FF and set 0x300
Set bit 0x0008 in RadioRegister 0x7A
MaskSet PHYRegister 0x4A0 with mask 0xFFF0 and set 0x8
MaskSet PHYRegister 0x4A1 with mask 0xF0FF and set 0x600
MaskSet PHYRegister 0x4A2 with mask 0xF0FF and set 0x700
MaskSet PHYRegister 0x4A0 with mask 0xF0FF and set 0x100
- If the PHY Revision is 1
MaskSet PHYRegister 0x4A2 with mask 0xFFF0 and set 0x7
MaskSet PHYRegister 0x488 with mask 0xFF00 and set 0x1C
MaskSet PHYRegister 0x488 with mask 0xC0FF and set 0x200
MaskSet PHYRegister 0x496 with mask 0xFF00 and set 0x1C
MaskSet PHYRegister 0x489 with mask 0xFF00 and set 0x20
MaskSet PHYRegister 0x489 with mask 0xC0FF and set 0x200
MaskSet PHYRegister 0x482 with mask 0xFF00 and set 0x2E
MaskSet PHYRegister 0x496 with mask 0x00FF and set 0x1A00
MaskSet PHYRegister 0x481 with mask 0xFF00 and set 0x28
MaskSet PHYRegister 0x481 with mask 0x00FF and set 0x2C00
- If the PHY Revision is 1
Write 0x92B to PHYRegister 0x430
MaskSet PHYRegister 0x41B with mask 0xFFE1 and set 0x2
- Otherwise
Mask PHYRegister 0x41B with 0xFFE1
Set PHYRegister 0x41F to 0x287A
MaskSet PHYRegister 0x420 with mask 0xFFF0 and set 0x4
- if the PHY Revision is bigger than 5
Set PHYRegister 0x422 to 0x287A
MaskSet PHYRegister 0x420 with mask 0x0FFF and set 0x3000
MaskSet PHYRegister 0x4A8 with mask 0x8080 and set 0x7874
Write 0x1C00 to PHYRegister 0x48E
- If the PHY Revision is 1
MaskSet PHYRegister 0x4AB with mask 0xF0FF and set 0x0600
Write 0x5E to PHYRegister 0x48B
MaskSet PHYRegister 0x48C with mask 0xFF00 and set 0x001E
Write 0x2 to PHYRegister 0x48D
If the PHY Revision is 1, the InternalLookupTable used is 0x5400, otherwise 0x800
Write 0x00 to the InternalLookupTable, offset 0
Write 0x07 to the InternalLookupTable, offset 1
Write 0x10 to the InternalLookupTable, offset 2
Write 0x1C to the InternalLookupTable, offset 3
- If the PHY Revision is 6 or greater
Mask PHYRegister 0x426 with mask 0xFFFC
Mask PHYRegister 0x426 with mask 0xEFFF